Skip to content

Conversation

@amulyakashyap09
Copy link
Contributor

@amulyakashyap09 amulyakashyap09 commented Feb 17, 2025

Description

  • Need to update the runtime plugin to set apihost and auth_handler for the openwhisk clients
  • Added Feature Flags - process.env.IS_DEPLOY_SERVICE_ENABLED
  • This PR has been tested locally running deploy service server, attached Screenshots

NOTE

⚠️ DO NOT MERGE THE PR UNLESS:

  • PROD Deploy Service URL is replaced
  • Test again

Related Issue

ACNA-3274
ACNA-3602

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Feature Flag Enabled: Should give 200 with IS_DEPLOY_SERVICE_ENABLED = true

Screenshot 2025-03-19 at 17 37 06

Feature Flag Disabled: Should give 401 with IS_DEPLOY_SERVICE_ENABLED = false [as ow auth_handler will not be available]

Screenshot 2025-03-19 at 17 43 08

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@codecov
Copy link

codecov bot commented Feb 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (d55ce21) to head (d6dfd85).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #360   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           66        66           
  Lines         1745      1758   +13     
  Branches       369       371    +2     
=========================================
+ Hits          1745      1758   +13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@amulyakashyap09
Copy link
Contributor Author

Please do not merge this PR , before merging Production URL Needs to be updated.

@amulyakashyap09 amulyakashyap09 changed the title ACNA-3274 | point runtime plugin to deploy service fix: ACNA-3274 | point runtime plugin to deploy service Feb 19, 2025
@amulyakashyap09 amulyakashyap09 changed the title fix: ACNA-3274 | point runtime plugin to deploy service ACNA-3274 | point runtime plugin to deploy service Feb 19, 2025
@amulyakashyap09 amulyakashyap09 requested a review from shazron March 11, 2025 05:35
shazron

This comment was marked as duplicate.

Copy link
Member

@shazron shazron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • needs adobe/aio-lib-runtime#206 to be merged released before this is merged, add to description
  • affirm that testing this works with the dev deployservice (via the apihost env var)

@amulyakashyap09 amulyakashyap09 requested a review from shazron March 19, 2025 11:51
@amulyakashyap09
Copy link
Contributor Author

Screenshot 2025-03-21 at 11 34 20

@amulyakashyap09 amulyakashyap09 merged commit 1adc01e into master Mar 26, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants